package cn.yuanqiao.common.domain;

import cn.yuanqiao.common.annotation.Excel;
import cn.yuanqiao.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

public class YqTable extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 数据库表名 */
    private Long tableId;

    /** 数据库表名 */
    @Excel(name = "数据库表名")
    private String tableName;

    /** 数据库表名的中文名字 */
    @Excel(name = "数据库表名的中文名字")
    private String tableCaption;

    /** 描述 */
    @Excel(name = "描述")
    private String DESCRIPTION;

    private int type;

    private Long templateId;

    public Long getTemplateId() {
        return templateId;
    }

    public void setTemplateId(Long templateId) {
        this.templateId = templateId;
    }

    public void setTableId(Long tableId)
    {
        this.tableId = tableId;
    }
    public Long getTableId()
    {
        return tableId;
    }
    public void setTableName(String tableName)
    {
        this.tableName = tableName;
    }

    public String getTableName()
    {
        return tableName;
    }
    public void setTableCaption(String tableCaption)
    {
        this.tableCaption = tableCaption;
    }

    public String getTableCaption()
    {
        return tableCaption;
    }
    public void setDESCRIPTION(String DESCRIPTION)
    {
        this.DESCRIPTION = DESCRIPTION;
    }

    public String getDESCRIPTION()
    {
        return DESCRIPTION;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("tableId", getTableId())
                .append("tableName", getTableName())
                .append("tableCaption", getTableCaption())
                .append("DESCRIPTION", getDESCRIPTION())
                .toString();
    }
}